package com.huawei.hotel.vo;

import java.io.Serializable;

/**
 * @author 18902
 * @date 2020/10/29 22:19
 * @desc 用户持久化类
 */
public class User implements Serializable {
    private static final long serialVersionUID = 1L;
    private int userid;
    private String useracount;
    private String password;
    private String userrole;
    private String userpower;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    private String username;
    private String age;
    private String phone;
    private String address;
    private String city;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getUseracount() {
        return useracount;
    }

    public void setUseracount(String useracount) {
        this.useracount = useracount;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserrole() {
        return userrole;
    }

    public void setUserrole(String userrole) {
        this.userrole = userrole;
    }

    public String getUserpower() {
        return userpower;
    }

    public void setUserpower(String userpower) {
        this.userpower = userpower;
    }



    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String  age) {
        this.age = age;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    @Override
    public String toString() {
        return "User{" +
                "userid=" + userid +
                ", useracount='" + useracount + '\'' +
                ", password='" + password + '\'' +
                ", userrole='" + userrole + '\'' +
                ", userpower='" + userpower + '\'' +
                ", username='" + username + '\'' +
                ", age='" + age + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                ", city='" + city + '\'' +
                '}';
    }
}
